.book{

  &.with-summary{
    .book-summary{
      left:0;
    }
    .book-body{
      left:300px;
    }
  }

  .book-summary {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    position: absolute;
    top: 0;
    left: -300px;
    bottom: 0;
    z-index: 1;
    overflow-y: auto;
    width: 300px;
    color: #364149;
    background: #fafafa;
    border-right: 1px solid rgba(0,0,0,.07);
    -webkit-transition: left 250ms ease;
    -moz-transition: left 250ms ease;
    -o-transition: left 250ms ease;
    transition: left 250ms ease;

    .book-name{
      font-weight: 600;
    }

    ul.summary{
      list-style: none;
      margin: 0;
      padding: 0;
      -webkit-transition: top .5s ease;
      -moz-transition: top .5s ease;
      -o-transition: top .5s ease;
      transition: top .5s ease;

      li{
        &.divider{
          height: 1px;
          margin: 7px 0;
          overflow: hidden;
          background: rgba(0,0,0,.07);
        }
        a,span{
          display: block;
          padding: 10px 15px;
          border-bottom: none;
          color: #364149;
          background: 0 0;
          text-overflow: ellipsis;
          overflow: hidden;
          white-space: nowrap;
          position: relative;
        }

        &.active{
          a{
            color: #008cff;
            background: 0 0;
            text-decoration: none;
          }
        }
      }
    }
  }

  //Book Body
  .book-body {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    color: #000;
    background: #fff;
    -webkit-transition: left 250ms ease;
    -moz-transition: left 250ms ease;
    -o-transition: left 250ms ease;
    transition: left 250ms ease;

    @media screen and (min-width: 600px){
      //left: 300px;
    }
    //Book Inner
    .body-inner {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      overflow-y: auto;
      //Book Header
      .book-header {
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        overflow: visible;
        height: 50px;
        padding: 0 8px;
        z-index: 2;
        font-size: .85em;
        color: #7e888b;
        background: 0 0;

        .btn {
          display: block;
          height: 50px;
          padding: 0 15px;
          border-bottom: none;
          color: #ccc;
          text-transform: uppercase;
          line-height: 50px;
          -webkit-box-shadow: none!important;
          box-shadow: none!important;
          position: relative;
          font-size: 14px;
        }
        h1 {
          margin: 0;
          font-size: 20px;
          font-weight: 200;
          text-align: center;
          line-height: 50px;
          opacity: 0;
          -webkit-transition: opacity ease .4s;
          -moz-transition: opacity ease .4s;
          -o-transition: opacity ease .4s;
          transition: opacity ease .4s;
          padding-left: 200px;
          padding-right: 200px;
          -webkit-transition: opacity .2s ease;
          -moz-transition: opacity .2s ease;
          -o-transition: opacity .2s ease;
          transition: opacity .2s ease;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          i{
            display: none;
          }

          a, a:hover{
            color: inherit;
            text-decoration: none;
          }
        }

        &:hover{
          h1{
            opacity: 1;
          }
        }
      }

      .page-wrapper {
        position: relative;
        outline: 0;
        .page-inner {
          position: relative;
          left: 0px;
          transition: 300ms ease left;
          max-width: 800px;
          margin: 0 auto;
          padding: 20px 15px 40px 15px;
        }
      }
    }

    //左右导航切换
    .navigation {
      position: absolute;
      top: 50px;
      bottom: 0;
      margin: 0;
      max-width: 150px;
      min-width: 90px;
      display: flex;
      justify-content: center;
      align-content: center;
      flex-direction: column;
      font-size: 40px;
      color: #ccc;
      text-align: center;
      -webkit-transition: all 350ms ease;
      -moz-transition: all 350ms ease;
      -o-transition: all 350ms ease;
      transition: all 350ms ease;
      &:hover{
        text-decoration: none;
        color: #444;
      }
      &.navigation-next {
        right: 0;
      }
      &.navigation-prev {
        left: 0;
      }
    }
  }

}

#book-search-input {
  padding: 6px;
  background: 0 0;
  transition: top .5s ease;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.07);
  border-top: 1px solid rgba(0,0,0,.07);
  margin-bottom: 10px;
  margin-top: -1px;

  input,input:focus, input:active{
    width: 100%;
    background: 0 0;
    border: 1px solid transparent;
    box-shadow: none;
    outline: 0;
    line-height: 22px;
    padding: 7px 7px;
    color: inherit;
  }
}